body {
  margin: 0;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  /* Stay in place */
  text-align: center;
  z-index: 1;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
  animation: fadeIn 0.5s;
}

.modal1 {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  text-align: center;
  max-height: 100%;
  overflow-y: auto;
  left: 0;
  top: 0;
  /* Full height */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
  animation: fadeIn 0.5s;
}

/* Modal Content/Box */
.modal-content {
  font-family: "Inter";
  background-color: #fefefe;
  margin: 15% auto;
  /* 15% from the top and centered */
  padding: 20px;
  padding-bottom: 40px;
  border: 1px solid #888;
  border-radius: 10px;
  width: 35%;
  /* Could be more or less, depending on screen size */
  height: auto;
  animation: fadeIn 1s;
  animation: bounce 1s;
}

.confirmtxt {
  padding-top: 20px;
  font-size: 26px;
}

#yes {
  width: 20%;
  font-size: 16px;
  padding: 10px;
}

#no {
  padding: 10px;
  font-size: 16px;
  width: 20%;
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal2 {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  text-align: center;
  z-index: 1;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
  animation: fadeIn 0.5s;
}

.modal-content2 {
  font-family: "Inter";
  background-color: #fefefe;
  margin: 15% auto;
  /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  border-radius: 10px;
  width: 35%;
  /* Could be more or less, depending on screen size */
  height: auto;
  animation: fadeIn 1s;
  animation: bounce 1s;
}

.modal3 {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  text-align: center;
  z-index: 1;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
  animation: fadeIn 0.5s;
}

/* Modal Content/Box */
.modal-content3 {
  font-family: "Inter";
  background-color: #fefefe;
  margin: 15% auto;
  /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  border-radius: 10px;
  width: 35%;
  /* Could be more or less, depending on screen size */
  height: auto;
  animation: fadeIn 1s;
  animation: bounce 1s;
}

/* The Modal (background) */
.modalpay {
  display: none;
  position: fixed;
  /* Stay in place */
  text-align: center;
  z-index: 1;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
  animation: fadeIn 0.5s;
}



/* Modal Content/Box */
.modal-pay {
  font-family: "Inter";
  background-color: #fefefe;
  margin: 5% auto;
  /* 15% from the top and centered */
  padding: 10px 40px 10px 40px;
  border: 1px solid #888;
  border-radius: 10px;
  width: 60%;
  /* Could be more or less, depending on screen size */
  height: auto;
  animation: fadeIn 1s;
  animation: bounce 1s;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

/* The Modal (background) */
.modalcheckout {
  display: none;
  position: fixed;
  /* Stay in place */
  text-align: center;
  z-index: 1;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
  animation: fadeIn 0.5s;
}



/* Modal Content/Box */
.modal-checkout {
  font-family: "Inter";
  background-color: #fefefe;
  margin: 8% auto;
  /* 15% from the top and centered */
  padding: 20px 40px 50px 40px;
  border: 1px solid #888;
  border-radius: 10px;
  width: 50%;
  display: grid;
  grid-row: inherit;
  /* Could be more or less, depending on screen size */
  height: auto;
  animation: fadeIn 1s;
  animation: bounce 1s;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

@media screen and (max-height: 600px) {
  .modal-pay {
    margin: 1% auto;
  }
}

/* The Close Button */
.close1 {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close1:hover,
.close1:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}


.modalterms {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  text-align: center;
  max-height: 100%;
  overflow-y: auto;
  left: 0;
  top: 0;
  /* Full height */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
  animation: fadeIn 0.5s;

}

.modalterms::-webkit-scrollbar {
  display: none;
}

.containerTerms {
  display: flex;
  align-items: center;

}

/* Modal Content/Box */
.terms-content {
  font-family: "Inter";
  background-color: #fefefe;
  text-align: left;
  margin: 2% auto;
  /* 15% from the top and centered */
  padding: 20px 80px 20px 80px;
  border: 1px solid #888;
  border-radius: 10px;
  width: 50%;
  /* Could be more or less, depending on screen size */
  height: auto;
  animation: fadeIn 1s;

}


/* ORDERMANAGEMENT MODAL */

.orderModal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  text-align: center;
  max-height: 100%;
  width: 100%;
  overflow-y: auto;
  left: 0;
  top: 0;
  /* Full height */
  height: 100%;
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
  animation: fadeIn 0.5s;

}

.orderModal::-webkit-scrollbar {
  display: none;
}


/* Modal Content/Box */
.order-content {
  font-family: "Source Sans Pro";
  background-color: #fefefe;
  text-align: left;
  margin: 4% auto;
  /* 15% from the top and centered */
  padding: 0px 40px 20px 60px;
  border: 1px solid #888;
  border-radius: 10px;
  width: fit-content;
  max-width: 80%;
  /* Could be more or less, depending on screen size */
  animation: fadeIn 1s;
  display: grid;
  grid-template-columns: auto auto;
  height: auto;
}

/* Order users */
/* Modal Content/Box */
.terms-content {
  font-family: "Inter";
  background-color: #fefefe;
  text-align: left;
  margin: 2% auto;
  /* 15% from the top and centered */
  padding: 20px 80px 20px 80px;
  border: 1px solid #888;
  border-radius: 10px;
  width: 50%;
  /* Could be more or less, depending on screen size */
  height: auto;
  animation: fadeIn 1s;

}

.termsTtl {
  text-align: center;
}

/* USER ORDER MODAL */

.modalusers {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  text-align: center;
  max-height: 100%;
  width: 100%;
  overflow-y: auto;
  left: 0;
  top: 0;
  /* Full height */
  height: 100%;
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
  animation: fadeIn 0.5s;

}

.modalusers::-webkit-scrollbar {
  display: none;
}


/* Modal Content/Box */
.modal-users {
  font-family: "Source Sans Pro";
  background-color: #ffffff;
  text-align: left;
  margin: 4.5% auto;
  /* 15% from the top and centered */
  padding: 30px 80px 30px 80px;
  border: 1px solid #888;
  border-radius: 10px;
  box-shadow: 1px 3px 10px 0px rgba(0, 0, 0, 0.26);
  width: 70%;
  /* Could be more or less, depending on screen size */
  animation: fadeIn 1s;
  /* display: grid;
  grid-template-columns: auto auto; */
  height: auto;
}

#closeUser {
  color: #aaa;
  text-align: right;
  font-size: 28px;
  font-weight: bold;
}

#closeUser:hover,
#closeUser:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modalform {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  text-align: center;
  max-height: 100%;
  width: 100%;
  overflow-y: auto;
  left: 0;
  top: 0;
  /* Full height */
  height: 100%;
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
  animation: fadeIn 0.5s;

}

.modalform::-webkit-scrollbar {
  display: none;
}


/* Modal Content/Box */
.modal-form {
  font-family: "Source Sans Pro";
  background-color: #ffffff;
  text-align: center;
  margin: 15% auto;
  /* 15% from the top and centered */
  padding: 30px 0px 50px 0px;
  border: 1px solid #888;
  border-radius: 10px;
  box-shadow: 1px 3px 10px 0px rgba(0, 0, 0, 0.26);
  width: 30%;
  /* Could be more or less, depending on screen size */
  animation: fadeIn 1s;
  /* display: grid;
  grid-template-columns: auto auto; */
  height: auto;
}

/* OrderDelete modal */
.modalDelOrder {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  text-align: center;
  max-height: 100%;
  width: 100%;
  overflow-y: auto;
  left: 0;
  top: 0;
  /* Full height */
  height: 100%;
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
  animation: fadeIn 0.5s;

}

.modalDelOrder::-webkit-scrollbar {
  display: none;
}


/* Modal Content/Box */
.modal-delcontext {
  font-family: "Source Sans Pro";
  background-color: #ffffff;
  text-align: center;
  margin: 15% auto;
  /* 15% from the top and centered */
  padding: 30px 0px 50px 0px;
  border: 1px solid #888;
  border-radius: 10px;
  box-shadow: 1px 3px 10px 0px rgba(0, 0, 0, 0.26);
  width: 30%;
  /* Could be more or less, depending on screen size */
  animation: fadeIn 1s;
  /* display: grid;
  grid-template-columns: auto auto; */
  height: auto;
}

/* Payment Options */

.modalOptions {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  text-align: center;
  z-index: 1;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
  animation: fadeIn 0.5s;
}

/* Modal Content/Box */
.modal-Optionscontent {
  font-family: "Inter";
  background-color: #fefefe;
  margin: 5% auto;
  /* 15% from the top and centered */
  padding: 20px;
  padding-bottom: 60px;
  border: 1px solid #888;
  border-radius: 10px;
  width: 55%;
  /* Could be more or less, depending on screen size */
  height: auto;
  animation: fadeIn 1s;
  animation: bounce 1s;
}



.emptyarray {
  display: none;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  margin-top: 50px;
  text-align: center;
  color: rgb(50, 50, 50);
  letter-spacing: .1em;
  text-shadow: 2px 2px 0px #FFFFFF;
}

/* ConfirmCheckout */

.modalconfirmation {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  text-align: center;
  max-height: 100%;
  width: 100%;
  overflow-y: auto;
  left: 0;
  top: 0;
  /* Full height */
  height: 100%;
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
  animation: fadeIn 0.5s;

}

.modalconfirmation::-webkit-scrollbar {
  display: none;
}


/* Modal Content/Box */
.modal-confirmation {
  font-family: "Source Sans Pro";
  background-color: #ffffff;
  text-align: left;
  margin: 4.5% auto;
  /* 15% from the top and centered */
  padding: 30px 80px 30px 80px;
  border: 1px solid #888;
  border-radius: 10px;
  box-shadow: 1px 3px 10px 0px rgba(0, 0, 0, 0.26);
  width: 35%;
  /* Could be more or less, depending on screen size */
  animation: fadeIn 1s;
  /* display: grid;
  grid-template-columns: auto auto; */
  height: auto;
}

/* The Modal (background) */
.modalpending {
  display: none;
  position: fixed;
  /* Stay in place */
  text-align: center;
  z-index: 1;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
  animation: fadeIn 0.5s;
}

/* Modal Content/Box */
.modal-pending {
  font-family: "Inter";
  background-color: #fefefe;
  margin: 15% auto;
  /* 15% from the top and centered */
  padding: 20px;
  padding-bottom: 40px;
  border: 1px solid #888;
  border-radius: 10px;
  width: 35%;
  /* Could be more or less, depending on screen size */
  height: auto;
  animation: fadeIn 1s;
  animation: bounce 1s;
}

#cancelyes {
  width: 20%;
  font-size: 16px;
  padding: 10px;
}

#cancelno {
  padding: 10px;
  font-size: 16px;
  width: 20%;
}

/* The Close Button */
.cancelclose {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.cancelclose:hover,
.cancelclose:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}


@media screen and (max-width: 600px) {
  .modal-pay {
    margin: 2% auto;
  }
}

/* responsive design for mobile */
@media screen and (max-width:450px) {
  .terms-content {
    text-align: left;
    margin: 8% auto;
    /* 15% from the top and centered */
    padding: 20px 30px 20px 30px;
    border: 1px solid #888;
    border-radius: 10px;
    width: 80%;
    /* Could be more or less, depending on screen size */
    height: auto;
    animation: fadeIn 1s;
    font-size: 12px;
  }

  .termsTtl {
    font-size: 20px;
  }

  .containerTerms {
    margin-bottom: 15px;

  }

  .modal-content {
    margin: 35% auto;
    padding: 20px;
    width: 65%;
  }

  .confirmtxt {
    padding-top: 10px;
    font-size: 24px;
  }

  #yes {
    width: 25%;
    font-size: 16px;
    padding: 10px;
  }

  #no {
    padding: 10px;
    font-size: 16px;
    width: 25%;
  }

  .modal-content2 {
    font-family: "Inter";
    background-color: #fefefe;
    margin: 30% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    border-radius: 10px;
    width: 65%;
    /* Could be more or less, depending on screen size */
    height: auto;
    animation: fadeIn 1s;
    animation: bounce 1s;
  }

  .modal-pay::-webkit-scrollbar {
    display: none;
  }

  .modal-pay {
    margin: 6% auto;
    padding: 10px 20px 10px 20px;
    width: 80%;

  }

  .paymentopt {
    text-align: left;
    display: grid;
    grid-template-columns: 100% !important;
  }

  .modal-users {
    margin: 4.5% auto;
    padding: 30px 20px 30px 20px;
    border: 1px solid #888;
    border-radius: 10px;
    box-shadow: 1px 3px 10px 0px rgba(0, 0, 0, 0.26);
    width: 85%;
    animation: fadeIn 1s;
    height: auto;
  }

  .order-grid {
    margin-top: 10px !important;
    margin-left: 0px !important;
  }

  .prodImage {
    margin: 20px auto !important;
  }

  .labels {
    font-family: "Source Sans Pro";
    font-weight: 600;
    font-size: 12px !important;
  }

  .items {
    font-size: 12px;
  }

  .comments {
    margin-top: 10px !important;
    margin-left: 0px !important;
    width: 100%;
  }


  .modal-confirmation {
    margin: 8% auto;
    /* 15% from the top and centered */
    padding: 20px 20px 20px 20px;
    border: 1px solid #888;
    border-radius: 10px;
    width: 80%;
    display: grid;
    grid-row: inherit;
    /* Could be more or less, depending on screen size */
    height: auto;
    animation: fadeIn 1s;
    animation: bounce 1s;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }


}

@keyframes slideInFromLeft {
  0% {
    transform: translateX(-400%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-20px);
  }

  60% {
    transform: translateY(-10px);
  }
}